package mysql

import "gorm.io/gorm"

type Hotel struct {
	gorm.Model
	Phone       string `json:"phone" gorm:"type:char(11);comment:'手机号'"`
	Password    string `json:"password" gorm:"type:varchar(50);comment:'密码'"`
	HeaderImage string `json:"header_image" gorm:"type:varchar(300);comment:'头像'"`
	PerName     string `json:"per_name" gorm:"type:varchar(30);comment:'会员名'"`
	Sex         string `json:"sex" gorm:"type:enum('男','女');comment:'姓名'"`
	Name        string `json:"name" gorm:"type:varchar(30);comment:'昵称'"`
	PerInfo     string `json:"per_info" gorm:"type:varchar(100);comment:'个性签名'"`
}
